#ifndef _GLOBAL_MEMMAP_H_
#define _GLOBAL_MEMMAP_H_

/* Tile mb0 local addresses */

#define mb0_imem_SIZE       0x2000
#define mb0_dmem_SIZE       0x2000
#define mb0_DMAmem_SIZE     0x1000
#define mb0_DMAsr_SIZE      0x1000
#define mb0_SHsr_SIZE       0x1000
#define mb0_imem_BASEADDR   0x00000000
#define mb0_dmem_BASEADDR   0x00002000
#define mb0_SHsr_BASEADDR   0x00004000
#define mb0_DMAmem_BASEADDR 0x00005000
#define mb0_rdma0_BASEADDR  0x000F0000
#define mb0_DMAsr_BASEADDR  0x00006000
#define mb0_rdma1_BASEADDR  0x000F1000

/* Tile mb1 local addresses */

#define mb1_imem_SIZE       0x2000
#define mb1_dmem_SIZE       0x2000
#define mb1_DMAmem_SIZE     0x1000
#define mb1_DMAsr_SIZE      0x1000
#define mb1_SHsr_SIZE       0x1000
#define mb1_imem_BASEADDR   0x00000000
#define mb1_dmem_BASEADDR   0x00002000
#define mb1_SHsr_BASEADDR   0x00004000
#define mb1_DMAmem_BASEADDR 0x00005000
#define mb1_rdma0_BASEADDR  0x000F0000
#define mb1_DMAsr_BASEADDR  0x00006000
#define mb1_rdma1_BASEADDR  0x000F1000

/* Tile mb2 local addresses */

#define mb2_imem_SIZE       0x2000
#define mb2_dmem_SIZE       0x2000
#define mb2_DMAmem_SIZE     0x1000
#define mb2_SHsr_SIZE       0x1000
#define mb2_imem_BASEADDR   0x00000000
#define mb2_dmem_BASEADDR   0x00002000
#define mb2_SHsr_BASEADDR   0x00004000
#define mb2_DMAmem_BASEADDR 0x00005000
#define mb2_rdma0_BASEADDR  0x000F0000

/* NoC addresses */

#define mb0_SHsr_pt_REMOTEADDR   0x01000000
#define mb1_SHsr_pt_REMOTEADDR   0x02000000
#define mb2_SHsr_pt_REMOTEADDR   0x03000000
#define shared_mem_pt_REMOTEADDR 0x78000000
#define frame_mem_pt_REMOTEADDR  0x79000000

#endif
